package com.hzhr.iot.device.sdk.model.concentrator;


import com.hzhr.iot.core.annotation.CygModel;
import com.hzhr.iot.core.annotation.CygProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "ConcentratorModel", description = "集中器模型")
public class ConcentratorModel {
    @ApiModelProperty(value = "说明 : 编号", required = true)
    @CygProperty(show = "", entityProp = "id")
    private Integer id;

    @ApiModelProperty(value = "说明 : 集中器代码(show_info=true时展示)", required = true)
    @CygProperty(show = "_show_info", entityProp = "code")
    private String code;
    @ApiModelProperty(value = "说明 : 集中器描述(show_info=true时展示)")
    @CygProperty(show = "_show_info", entityProp = "des")
    private String des;
    @ApiModelProperty(value = "说明 : 公司编号(show_info=true时展示)", required = true)
    @CygProperty(show = "_show_info", entityProp = "gasCompanyId")
    private Integer companyId;
    @ApiModelProperty(value = "说明 : 部门编号(show_info=true时展示)", required = true)
    @CygProperty(show = "_show_info", entityProp = "deptId")
    private Integer deptId;
    @ApiModelProperty(value = "说明 : 公司名称(show_info=true时展示)", required = true)
    @CygProperty(show = "_show_info", entityProp = "")
    private String companyName;
    @ApiModelProperty(value = "说明 : 部门名称(show_info=true时展示)", required = true)
    @CygProperty(show = "_show_info", entityProp = "")
    private String deptName;
    @ApiModelProperty(value = "说明 : 创建时间(show_info=true时展示; 毫秒级时间戳)", required = true)
    @CygProperty(show = "_show_info", entityProp = "createTime")
    private Long createTime;
    @ApiModelProperty(value = "说明 : 协议编号(show_info=true时展示)")
    @CygProperty(show = "_show_info", entityProp = "protocolId")
    private String protocolId;
    @ApiModelProperty(value = "说明 : 协议编号(show_info=true时展示)")
    @CygProperty(show = "_show_info", entityProp = "")
    private String protocolDes;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDes() {
        return des;
    }

    public void setDes(String des) {
        this.des = des;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getProtocolId() {
        return protocolId;
    }

    public void setProtocolId(String protocolId) {
        this.protocolId = protocolId;
    }

    public String getProtocolDes() {
        return protocolDes;
    }

    public void setProtocolDes(String protocolDes) {
        this.protocolDes = protocolDes;
    }
}

